/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

*{
    margin:0px;
    padding:0px;
}

.tank{
    position:absolute;
    left: 100px;
    top:100px;
    display: flex;
}

.tank > div{
    position:relative;
    width:100px;
}

.tank .container,
.tank .liquid{
    position: relative;
    width:100px;
    height: 240px;
    border-radius: 50% / 20px;
    background-color:rgba(0,191,255,0.4);
    background-image:linear-gradient(to right,hsla(0,0%,100%,0.5) 0% ,hsla(0,0%,100%,0) 100% );    
}

.tank .liquid{
    position:absolute;
    left:0;
    bottom:0;
    height: 0;
}

.tank .container:before,
.tank .liquid:before{
    content: "";
    position:absolute;
    left:0;
    top:0;
    width:100px;
    height:40px; 
    border-radius: 50%;
    background-color:rgba(0,191,255,0.7);
    background-image:linear-gradient(to right,hsla(0,0%,100%,0.7) 0% ,hsla(0,0%,100%,0) 100% );
}

.tank .liquid:after{
    content:attr(data-liquid);
    position: absolute;
    left:12px;
    bottom:100px;
    color: darkblue;;
    font-size:18px;
    font-family: Arial;
    font-weight: bold; 
}

.tank .open-ratio{
    position: absolute;
    left:28px;
    bottom:-12px;
    width: 40px;
    height: 10px;
    background-color: darkslategrey;
    border: 2px solid darkblue;
    z-index: 1;
}

.tank .open-ratio:before{
    content:"";
    position: absolute;
    left:0;
    top:0;
    width: 0px;
    height: 10px;
    background-color: lightcyan;
}

.tank .open-ratio:after{
    content:attr(data-open);
    position: absolute;
    left:35px;
    bottom:-30px;
    width: 90px;
    color:darkblue;
    font-size:15px;
    font-family:serif;
    font-weight: bold;
}

.tank .dec{
    position: absolute;
    left:85px;
    bottom:-18px;
    width:20px;
    height:20px;
}

.tank .inc{
    position: absolute;
    left:115px;
    bottom:-18px;
    width:20px;
    height:20px;
}

.tank .table{
    position: absolute;
    left:-50px;
    bottom:-100px;
    width:60px;
    text-align:left;
    border-spacing: 10px 5px;
}

.tank .table input{
    width:30px;
    height: 18px ;
    font-size:15px;
}


#source{
    position: absolute; 
    left:20px;
    top:32px;
    width:60px;
    height:60px;
}

.v-btns{
    text-align: center;
    position: absolute; 
    left:625px;
    top:60px;
    width:140px;
    height:400px;
}

#power{
    width:60px;
    height: 60px;
}

.h-btns{
    position: relative;
    top:20px;
    height:40px;
}

.h-btns input{
    position: absolute;
    width:30px;
    height: 30px;
}

.h-btns #dec{
    left: 30px;
}

.h-btns #inc{
    right: 30px;
}

#speed{
    position: relative;
    top:20px;
    font-size:18px;
    font-weight: bold;
}

#auto{
    position: relative;
    top:50px;
    width:100px;
    height:50px;
}

#save{
    position: relative;
    top:70px;
    width:100px;
    height:50px;
}

#disp{
    position: relative;
    top:90px;
    width:100px;
    height: 50px;
}
